package dialog;

import android.support.v4.app.DialogFragment;

public class BaseDialog extends DialogFragment {

    @Override
    public void onStart() {
        super.onStart();
        if (getDialog() != null && getDialog().getWindow() != null) {
            getDialog().getWindow().setBackgroundDrawable(null);
        }
    }

    public interface OnConfirmListener {
        void onConfirm(String name,String tel);
    }

    public interface OnConfirmListener4 {
        void onConfirm(String name,String tel,String num);
    }
    public interface OnConfirmListener2 {
        void onConfirm();
    }
    public interface OnConfirmListener3 {
        void onConfirm();
        void onConfirmYinsi();
    }
}
